var express = require('express');
var dataCtrl=require('../controller/comment.controller');
var router = express.Router();

router.post('/',dataCtrl.create);
router.delete('/:id',dataCtrl.delete);
router.post('/removes',dataCtrl.removes);
router.put('/:id',dataCtrl.update);
router.post('/list',dataCtrl.list);
router.get('/:id',dataCtrl.get2);
router.post('/getCounts',dataCtrl.getComment);
module.exports = router;